<div>
	<form method="post" id="form_${action_id}" name="form_${action_id}">
	<input type="hidden" name="entity.id" value="${entity.id?default('')}" />
    <table class="form-table" cellpadding=3>
    	<tr>
            <td>${action.getDatagridTitle('name')}:</td>
            <td><input id="entity.name" name="entity.name" style="width:300px;" class="easyui-validatebox" value="${entity.name?default('')}" ></input></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('subName')}:</td>
            <td><input id="entity.subName" name="entity.subName" style="width:300px;" class="easyui-validatebox" value="${entity.subName?default('')}" ></input></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('state')}:</td>
            <td><select id="entity.state" name="entity.state" class="easyui-combobox" style="width:300px;">
            	<#list states as st>
            		<option value="${st.state}" <#if st.state==entity.state>selected</#if>>${action.getDatagridTitle('state.'+st.name())}</option>
            	</#list>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('order')}:</td>
            <td><input id="entity.order" name="entity.order" class="easyui-numberspinner" style="width:120px;"  value="${entity.order}" data-options="precision:0,min:0,value:0"></td>
        </tr>
    </table>
	</form>
</div>

